package com.zh.work.entity.channel;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("快捷渠道实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("quick_channel")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class QuickChannelEntity extends Model<QuickChannelEntity> {
  private static final long serialVersionUID = -5070771723401301758L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId("id")
  private Long id;

  @ApiModelProperty(value = "渠道编码", name = "channelCode")
  private String channelCode;
  @ApiModelProperty(value = "渠道名称", name = "channelName")
  private String channelName;
  @ApiModelProperty(value = "代理号", name = "agentNo")
  @TableField(value = "agentno")
  private String agentNo;
  @ApiModelProperty(value = "状态(1-启用 2-禁用)", name = "status")
  private Integer status;
  @ApiModelProperty(value = "交易地址", name = "urlRequest")
  private String urlRequest;
  @ApiModelProperty(value = "通知地址", name = "urlNotify")
  private String urlNotify;
  @ApiModelProperty(value = "代付地址", name = "urlPay")
  private String urlPay;
  @ApiModelProperty(value = "MD5密钥", name = "keyMd5")
  private String keyMd5;
  @ApiModelProperty(value = "渠道公钥", name = "keyRsa")
  private String keyRsa;
  @ApiModelProperty(value = "备注", name = "remark")
  private String remark;
  @ApiModelProperty(value = "跳转地址", name = "urlReturn")
  private String urlReturn;
  @ApiModelProperty(value = "T+0提现费", name = "withdrawal")
  private Float withdrawal;
  @ApiModelProperty(value = "快捷T+1成本", name = "quickRateT1")
  private Float quickRateT1;
  @ApiModelProperty(value = "快捷T+0成本", name = "quickRateT0")
  private Float quickRateT0;
  @ApiModelProperty(value = "应用编码", name = "appCode")
  private String appCode;
  @ApiModelProperty(value = "商户私钥", name = "merchRsaKey")
  private String merchRsaKey;
  @ApiModelProperty(value = "清算方式 1-平台清算 2-渠道清算", name = "liquidMode")
  private Integer liquidMode;
  @ApiModelProperty(value = "清算类型 1-实时代付 2-虚拟账户", name = "liquidation")
  private Integer liquidation;
  @ApiModelProperty(value = "逻辑删除字段", name = "deleted")
  @TableLogic
  private Integer deleted;
}
